libmyc.a:my_stdio.o my_string.o  #生成静态库
	ar -rc $@ $^
%.o:%.c
	g++ -c $<  
.PHONT:output
output:
	mkdir -p lib/include
	mkdir -p lib/mylib
	cp -f *h lib/include
	cp -f *.a lib/mylib
	tar czf lib.tgz lib

.PHONY:clean
clean:
	rm -rf *.o libmyc.a lib lib.tgz
